package com.ckv.qcm.view.testUI;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import com.ckv.qcm.view.Questions.UI_GestQuestions;

public class TestQuestions {

	public static void main(String args[]) {
		
		try {
		    // Set System L&F
	        UIManager.setLookAndFeel(
	            UIManager.getSystemLookAndFeelClassName());
	    } 
	    catch (UnsupportedLookAndFeelException e) {
	       // handle exception
	    }
	    catch (ClassNotFoundException e) {
	       // handle exception
	    }
	    catch (InstantiationException e) {
	       // handle exception
	    }
	    catch (IllegalAccessException e) {
	       // handle exception
	    }

		JFrame frame = new JFrame();
		frame.setBounds(200, 200, 200, 50);

		JPanel p = new JPanel(new BorderLayout());

		UI_GestQuestions uiQuestion = new UI_GestQuestions(300, 400);

		p.add(uiQuestion, BorderLayout.CENTER);

		frame.add(p);
		frame.pack();
		frame.setVisible(true);

	}
}
